All Questions
1 question
3votes
3answers
209views
What is the motivation or usage to create a interface use once only just for breaking circular dependency?
I understand if 2 classes have circular dependency, eg: public class MyWindow{ public MyWindow(){ new MyDialog(this); } public onDialogResponse(int option){ } } public class ...